package cn.zmlio.akkastudy.java.hello;

import akka.actor.AbstractActor;
import akka.japi.pf.ReceiveBuilder;

/**
 * @author : zml
 * @version : 1.0
 * Description :
 * Created in: 2018/4/20 上午9:14
 * Modified By:
 * @since : 1.0
 */
public class HelloAkka extends AbstractActor {
    @Override
    public Receive createReceive() {
        return ReceiveBuilder.create().match(String.class, System.out::println).build();
    }
}
